package com.struct.graph.room_list
{
	import com.component.Component;
	
	public class RoomListFrame extends Component
	{
		public function RoomListFrame()
		{
			super();
			var rls:RoomListShow;
			for(var i:uint = 0; i < 8; ++i){
				rls = new RoomListShow(i, this);
				rls.x = Math.floor(i%3) * (190 + 5);
				rls.y = Math.floor(i/3) * (120 + 5);
				addChild(rls);
			}
			
			x = (SSA.application.width - width) / 2;
			y = (SSA.application.height - height) / 2;
		}
	}
}